<?php

namespace JsonLowCode\Form\Traits;

trait HasSuffix
{
    /**
     * @param mixed $suffix
     * @param array $params
     * @return $this
     */
    public function suffix(mixed $suffix, array $params = []): static
    {
        $this->element->slotSuffix($suffix, $params);
        return $this;
    }
}
